package com.leidi.javacallspython.enetity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigInteger;

/**
 * @author: sanhoitou[sanhoitou@hotmail.com]
 * @Date: 2021/10/15
 */
@Data
@TableName("qa_train")
public class Train implements Serializable {

    private static final long serialVersionUID = -354482004460853327L;
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "问题id")
    private BigInteger id;
    @ApiModelProperty(value = "所属问题id",hidden = true)
    private BigInteger fqaId;
    @ApiModelProperty(value = "问题")
    private String question;

}
